package entity;


/**
 * Car entity. @author MyEclipse Persistence Tools
 */

public class Car implements java.io.Serializable {

	// Fields

	private Integer id;
	private String carno;
	private String cartype;
	private Integer carid;

	// Constructors

	/** default constructor */
	public Car() {
	}

	/** minimal constructor */
	public Car(Integer id) {
		this.id = id;
	}

	/** full constructor */
	public Car(Integer id, String carno, String cartype, Integer carid) {
		this.id = id;
		this.carno = carno;
		this.cartype = cartype;
		this.carid = carid;
	}
	
	public Car(String carno, String cartype, Integer carid) {
		super();
		this.carno = carno;
		this.cartype = cartype;
		this.carid = carid;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCarno() {
		return this.carno;
	}

	public void setCarno(String carno) {
		this.carno = carno;
	}

	public String getCartype() {
		return this.cartype;
	}

	public void setCartype(String cartype) {
		this.cartype = cartype;
	}

	public Integer getCarid() {
		return this.carid;
	}

	public void setCarid(Integer carid) {
		this.carid = carid;
	}

}